package com.mall.mallDemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
//import com.mall.xiaomi.mapper.SeckillProductMapper;
import com.mall.mallDemo.pojo.Order;
//import com.mall.xiaomi.pojo.SeckillProduct;
import com.mall.mallDemo.vo.CartVo;
import com.mall.mallDemo.vo.OrderVo;
//import org.springframework.data.redis.core.RedisTemplate;

import java.util.*;

public interface OrderService extends IService<Order> {

    public void addOrder(List<CartVo> cartVoList, Integer userId);

    public List<List<OrderVo>> getOrder(Integer userId);


}
